package edu.guet.Factory.FactoryMethod;

import edu.guet.Factory.PizzaType;

public class ChicagoPizzaStore extends PizzaStore {
    @Override
    public Pizza createPizza(PizzaType item) {
        switch (item) {
            case cheese:
                return new ChicagoStyleCheesePizza();
            case veggie:
                return new ChicagoStyleCheesePizza();
            case clam:
                return new ChicagoStyleClamPizza();
            case pepperoni:
                return new ChicagoStylePepperoniPizza();
            default:
                return null;
        }
    }


}
